/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import entities1.InvitationRequest;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author takamflore
 */
@Local
public interface InvitationDao{
    void addInvitation(InvitationRequest invitation); 
  List<InvitationRequest> getAllInvitationUser(int id);
  List<InvitationRequest> getAllInvitation();
  void acceptInvitation(InvitationRequest invitation);
  void declineInvitation(InvitationRequest invitation);
  InvitationRequest getInvitation(int invitId);
  
    
}
